package cn.yuanqiao.archive.formManage.domain;

import cn.yuanqiao.common.annotation.Excel;
import cn.yuanqiao.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 表单管理对象 YQFORM_MANAGE
 * 
 * @author lyk
 * @date 2023-06-21
 */
public class YqformManage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long formId;

    /** 表单名称 */
    @Excel(name = "表单名称")
    private String formName;

    /** 表单代码 */
    @Excel(name = "表单代码")
    private String formCode;

    /** 是否启用 */
    @Excel(name = "是否启用",readConverterExp = "0=否,1=是")
    private String isEnable;

    /** 是否档案部门分单 */
    @Excel(name = "是否档案部门分单",readConverterExp = "0=否,1=是")
    private String isSplit;

    private String tenantCode;

    public String getIsSplit() {
        return isSplit;
    }

    public void setIsSplit(String isSplit) {
        this.isSplit = isSplit;
    }

    public void setFormId(Long formId)
    {
        this.formId = formId;
    }

    public Long getFormId()
    {
        return formId;
    }
    public void setFormName(String formName) 
    {
        this.formName = formName;
    }

    public String getFormName() 
    {
        return formName;
    }
    public void setFormCode(String formCode) 
    {
        this.formCode = formCode;
    }

    public String getFormCode() 
    {
        return formCode;
    }
    public void setIsEnable(String isEnable) 
    {
        this.isEnable = isEnable;
    }

    public String getIsEnable() 
    {
        return isEnable;
    }

    public String getTenantCode() {
        return tenantCode;
    }

    public void setTenantCode(String tenantCode) {
        this.tenantCode = tenantCode;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("fromId", getFormId())
            .append("formName", getFormName())
            .append("formCode", getFormCode())
            .append("isEnable", getIsEnable())
            .toString();
    }
}
